home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Printer Drivers… / Generic LaserWriter / ChooserSupport.a next >
Encoding:
Text File  |  1995-04-10  |  1.4 KB  |  56 lines  |  [TEXT/MPS ]

  1. ;  ------------------------------------------------------------------------------
  2. ;
  3. ;    FILENAME
  4. ;        ChooserSupport.a
  5. ;
  6. ;    DESCRIPTION
  7. ;        Contains the code to form the first part of the Chooser 'PACK' for this driver.
  8. ;
  9. ;    COPYRIGHT
  10. ;        Copyright © Apple Computer, Inc. 1992-1994
  11. ;        All rights reserved. 
  12. ;
  13. ;--------------------------------------------------------------------------------
  14.  
  15.  
  16.     STRING    ASIS
  17.     CASE OBJ
  18.  
  19. kAppleTalkDevice        EQU    $80000000
  20. kIsPAPDevice            EQU $40000000
  21. kIsPostScriptDevice        EQU $20000000
  22. kMultiSelect            EQU    $10000000
  23. kLeftButton                EQU    $08000000
  24. kRightButton            EQU    $04000000
  25. kNoSavedZone            EQU $02000000
  26. kActualZoneNames        EQU    $01000000
  27. kNoIntlChars            EQU    $00800000
  28. kEvenUpName                EQU    $00400000
  29. kLengthOnRename            EQU    $00200000
  30. kUsesOnAndOff            EQU    $00100000
  31. kNoSetSelfSend            EQU    $00080000
  32. kUnused18                EQU    $00040000
  33. kAcceptsInit            EQU    $00020000
  34. kAcceptsNewSel            EQU $00010000
  35. kAcceptsFillList        EQU $00008000
  36. kAcceptsGetSel            EQU    $00004000
  37. kAcceptsSelect            EQU $00002000
  38. kAcceptsDeselect        EQU $00001000
  39. kAcceptsTerminate        EQU    $00000800
  40.  
  41.     IMPORT DEVICE
  42. EntryPoint    PROC EXPORT
  43.         BRA.S    DEVICE                            ; branch to our actual code
  44.         DC.W    169                                ; device ID
  45.         DC.L    'PACK'                            ; device Type
  46.         DC.W    $F000                            ; master ID for resources (-4096)
  47.         DC.W    2                                ; version
  48.         DC.L    kLeftButton+kUsesOnAndOff+kAcceptsInit+kAcceptsTerminate    ; flags
  49.         
  50. gJob PROC EXPORT
  51.         DC.L    0                                ; Job global
  52.         
  53. gDriverName    PROC EXPORT
  54.         DS.B    32                                ; driverName
  55.     END
  56.